Package-level declarations

Types

Link copied to clipboard
data class Category(val primaryCategory: String?)

Represents a category associated with a transaction.

Link copied to clipboard
data class Price(val basePrice: Double)

Represents the pricing information for a transaction.

Link copied to clipboard
data class Product(val name: String?, val id: String?, val price: Double?, val quantity: Int?, val category: String?, val brand: String?, val variant: String?, val attributes: Map<String, String>)

Represents a product in a transaction.

Link copied to clipboard
data class ProductInfo(val productID: String?, val productName: String?, val productVariant: String?)

Represents information about a product in a transaction.

Link copied to clipboard
data class ProductItem(val category: Category?, val price: Price?, val productInfo: ProductInfo?, val quantity: Int)

Represents an item in a transaction, including its category, price, and product details.

Link copied to clipboard
data class Total(val currency: String?, val shipping: Double, val tax: Double, val transactionTotal: Double)

Represents the total cost details for a transaction or cart.

Link copied to clipboard
data class Transaction(val transactionId: String, val totalAmount: Double, val tax: Double, val shipping: Double, val currency: String)

Represents a transaction with its cost details.

Link copied to clipboard
data class TransactionEvent(val transaction: WebTransaction?)

Represents an event associated with a transaction.

Link copied to clipboard
data class WebTransaction(val products: List<ProductItem?>?, val total: Total?, val transactionID: String?)

Represents a web-based transaction containing products and cost details.